﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ImportPage.aspx.cs" Inherits="CRM.Web.CallOutCase.ImportPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <link href="<%= base.ResourcesPath + "Style/main.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js"  defer="defer" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js"></script>
</head>
<body>
<form id="form1" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" id="tTitle">
        <tr>
            <td class="left">
                <img src="<%= base.ResourcesPath %>Images/title_left.gif" alt="" />
            </td>
            <td class="middle">
                <div class="pagetitle">
                    <div>
                        <asp:Label ID="lblTitle" runat="server">导入客户资料</asp:Label></div>
                </div>
            </td>
            <td class="right">
                <img src="<%= base.ResourcesPath %>Images/title_right.gif" alt="" />
            </td>
        </tr>
    </table>
<div id="divMain">
    <div  id="tBodyMain">
        <table width="100%" cellpadding="2" cellspacing="1">
            <tr>
                <td colspan="2" class="left">
                    选取导入文件
                </td>
            </tr>
            <tr>
                <td class="right" align="right">
                    导入文件来源&nbsp;
                </td>
                <td>
                    <asp:FileUpload ID="ImportFile" runat="server" size="60" style="float: left;" />
                    <asp:Button ID="btnUpload" runat="server" Text="上传" CommandName="btnUpload" CssClass="btn" OnClick="btnUpload_Click" style="vertical-align: middle; " />
                </td>
            </tr>
            <tr>
                <td class="right" align="right">
                    导入文件名&nbsp;
                </td>
                <td class="right">
                    <asp:Label ID="lblFileName" runat="server" Style="" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="left" align="right" width="15%">
                    Sheet表名&nbsp;
                </td>
                <td>
                    <asp:DropDownList ID="ddlSheetName" runat="server" CssClass="ddl">
                    </asp:DropDownList>
                    &nbsp;
                    <asp:Label ID="lblFullName" runat="server" Style="display: none;" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left">
                    导入文件信息设置
                </td>
            </tr>
            <tr>
                <td align="right" width="15%">
                    导入文件描述&nbsp;
                </td>
                <td class="content">
                    <asp:TextBox ID="txtREMARKS" runat="server" Width="366px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" width="15%">
                    事业部&nbsp;
                </td>
                <td class="content">
                    <asp:DropDownList ID="ddlBusiness" runat="server" CssClass="ddl">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right" style="height: 21px; display: none;">
                </td>
                <td style="height: 21px; display: none;">
                    &nbsp;
                    <asp:DropDownList ID="ddlTempName" runat="server" CssClass="ddl" Style="display: none;">
                    </asp:DropDownList>
                    &nbsp;
                    <asp:Button ID="btnAddTemplate" runat="server" OnClick="btnAddTemplate_Click" Text="创建新模板"
                        CssClass="btn" ToolTip="创建新模板" Style="vertical-align: middle; display: none;" />
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left">
                    去重条件设定
                </td>
            </tr>
            <tr>
                <td class="left" colspan="3">
                    &nbsp;
                    <asp:RadioButton ID="rbTel" runat="server" Text="电话号码不能重复" Checked="True" />&nbsp;&nbsp;
                    <asp:CheckBox ID="cbUserName" runat="server" Text="用户姓名不能重复" />&nbsp;&nbsp;&nbsp;
                </td>
            </tr>
        </table>
        <table width="100%" cellpadding="0" cellspacing="0">
            <tr>
                <td colspan="2" class="tdbtn">
                    <asp:Button ID="btnOK" runat="server" Text="确定" CssClass="btn" CommandName="Search"
                        OnClick="btnOK_Click" />
                    <asp:Button ID="btnReset" CssClass="btn" CommandName="Search" runat="server" Text="重置"
                        OnClientClick="return window.confirm('您确认要重置吗？');" OnClick="btnReset_Click" />
                </td>
            </tr>
        </table>
</div>
</div>
</form>
</body>
</html>
